﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

/// <summary>
/// 视图,只做一件事情，就是显示结果
/// </summary>
public class PlayerView:MonoBehaviour
{
    public Text _name;
    /// <summary>
    /// 显示结果
    /// </summary>
    /// <param name="name"></param>
    public void Show(string name)
    {
        _name.text = "Player Name is :" +name;
    }
  
}
